package com.lavegue.model;

import java.sql.Timestamp;
import java.util.Date;

/**
 * SysMsg entity. @author MyEclipse Persistence Tools
 */

public class SysMsg implements java.io.Serializable {

	// Fields

	private Integer id;
	private UserInfo userInfo;
	private String sender;
	private String title;
	private Date sendTime;
	private String content;
	private Integer status;

	// Constructors

	/** default constructor */
	public SysMsg() {
	}

	
	public Integer getStatus() {
		return status;
	}


	public void setStatus(Integer status) {
		this.status = status;
	}


	/** minimal constructor */
	public SysMsg(String sender, String title, Date sendTime,
			String content) {
		this.sender = sender;
		this.title = title;
		this.sendTime = sendTime;
		this.content = content;
	}

	/** full constructor */
	public SysMsg(UserInfo userInfo, String sender, String title,
			Timestamp sendTime, String content) {
		this.userInfo = userInfo;
		this.sender = sender;
		this.title = title;
		this.sendTime = sendTime;
		this.content = content;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public UserInfo getUserInfo() {
		return this.userInfo;
	}

	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}

	public String getSender() {
		return this.sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	

	public Date getSendTime() {
		return sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

}